package com.swak.scheduler;

import org.springframework.scheduling.support.CronExpression;

import com.swak.utils.time.DateTimes;

/**
 * 调度时间的测试
 * 
 * @author lifeng
 */
public class SchedulerTime {

	public static void main(String[] args) throws InterruptedException {
		CronExpression cronSequenceGenerator = CronExpression.parse("0 0/10 0-6 * * ?");
		System.out.println(cronSequenceGenerator.next(DateTimes.now()));
	}
}
